package club.haomoon.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * -------------------------
 * @Description: 异常基类
 * @Author: Wangjianwei
 * @Date: 2025/02/11 16:21
 * -------------------------
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BaseException extends RuntimeException {

    private Integer code;
    private String msg;
    private Integer show;

    public BaseException(Integer code, String msg, Integer show) {
        this.code = code;
        this.msg = msg;
        this.show = show;
    }
}
